package com.zxp.biz.payment.controller;

import com.zxp.common.api.R;
import com.zxp.common.support.Kv;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Api(tags = "测试控制器")
@RestController
@RequestMapping("/api/test")
public class TestController {


    @GetMapping
    public R getWxPayConfig(String mchId){

        return R.data(Kv.init().set("mchId",mchId));
    }
}
